from typing import Any

from fastapi import APIRouter

from app.core.config import settings
from app.api.response import success_response

router = APIRouter()


@router.get("/ready", summary="健康检查")
async def readiness_probe() -> dict[str, Any]:
  return success_response({"status": "ok", "app": settings.app_name})
